using System;
using System.Collections.Generic;

using DevExpress.ExpressApp;
using Top.Module.Domain;
using DevExpress.Persistent.BaseImpl;

namespace Top.Module
{
    public sealed partial class TopModule : ModuleBase
    {
        public TopModule()
        {
            ModelDifferenceResourceName = "Top.Module.Model.DesignedDiffs";
            InitializeComponent();
        }

        public override void Setup(XafApplication application)
        {
            //if (!XafTypesInfo.IsInitialized)
            //{
            //    XafTypesInfo.Instance.RegisterEntity("IUserCredit", typeof(IUserCredit), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ILocation", typeof(ILocation), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IUser", typeof(IUser), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IProductImg", typeof(IProductImg), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IProduct", typeof(IProduct), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IRefundRemindTimeout", typeof(IRefundRemindTimeout), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IRefundMessage", typeof(IRefundMessage), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IOrder", typeof(IOrder), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IRefund", typeof(IRefund), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITrade", typeof(ITrade), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPostageMode", typeof(IPostageMode), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ISku", typeof(ISku), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IVideo", typeof(IVideo), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IShopScore", typeof(IShopScore), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ISellerCat", typeof(ISellerCat), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPosterPicture", typeof(IPosterPicture), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPoster", typeof(IPoster), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPosterChannel", typeof(IPosterChannel), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITradeConfirmFee", typeof(ITradeConfirmFee), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IItemImg", typeof(IItemImg), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IShopCat", typeof(IShopCat), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IProductPropImg", typeof(IProductPropImg), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("INotifyRefund", typeof(INotifyRefund), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IShop", typeof(IShop), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPropImg", typeof(IPropImg), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("INotifyTrade", typeof(INotifyTrade), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IBrand", typeof(IBrand), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IItemCat", typeof(IItemCat), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPropValue", typeof(IPropValue), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPostage", typeof(IPostage), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("INotifyItem", typeof(INotifyItem), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IItem", typeof(IItem), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IItemCategory", typeof(IItemCategory), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ISellerAuthorize", typeof(ISellerAuthorize), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IBuyerCouponDetail", typeof(IBuyerCouponDetail), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IMsg", typeof(IMsg), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IItemProp", typeof(IItemProp), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPicture", typeof(IPicture), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IArea", typeof(IArea), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ILogisticsCompany", typeof(ILogisticsCompany), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IShipping", typeof(IShipping), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITradeRate", typeof(ITradeRate), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IFenxiaoSku", typeof(IFenxiaoSku), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaobaokeReportMember", typeof(ITaobaokeReportMember), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IReceiver", typeof(IReceiver), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ILoginUser", typeof(ILoginUser), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IItemSearch", typeof(IItemSearch), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaobaokeReport", typeof(ITaobaokeReport), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPurchaseOrder", typeof(IPurchaseOrder), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IFenxiaoProduct", typeof(IFenxiaoProduct), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ISubUserInfo", typeof(ISubUserInfo), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaobaokeItem", typeof(ITaobaokeItem), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaAudioReaderMyAlbum", typeof(ITaohuaAudioReaderMyAlbum), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaobaokeShop", typeof(ITaobaokeShop), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ISubPurchaseOrder", typeof(ISubPurchaseOrder), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IProductCat", typeof(IProductCat), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaRootDirectory", typeof(ITaohuaRootDirectory), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IAppCustomer", typeof(IAppCustomer), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaDirectory", typeof(ITaohuaDirectory), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IHuabaoChannel", typeof(IHuabaoChannel), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IHuabaoPicture", typeof(IHuabaoPicture), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPictureCategory", typeof(IPictureCategory), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IDistributor", typeof(IDistributor), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IGroupDomain", typeof(IGroupDomain), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IBasicMember", typeof(IBasicMember), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IGradePromotion", typeof(IGradePromotion), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IRuleData", typeof(IRuleData), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaobaokeItemDetail", typeof(ITaobaokeItemDetail), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ICrmMember", typeof(ICrmMember), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaoCodeDetail", typeof(ITaoCodeDetail), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IGroup", typeof(IGroup), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IHuabaoAuctionInfo", typeof(IHuabaoAuctionInfo), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IHuabao", typeof(IHuabao), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWaitingTimesOnDay", typeof(IWaitingTimesOnDay), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbAuthorization", typeof(IWlbAuthorization), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("INonReplyStatOnDay", typeof(INonReplyStatOnDay), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbMessage", typeof(IWlbMessage), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IStaffEvalStatOnDay", typeof(IStaffEvalStatOnDay), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbConsignMent", typeof(IWlbConsignMent), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IOnlineTimesOnDay", typeof(IOnlineTimesOnDay), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbReplenish", typeof(IWlbReplenish), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbProcessStatus", typeof(IWlbProcessStatus), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbOrderItem", typeof(IWlbOrderItem), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITask", typeof(ITask), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbOrder", typeof(IWlbOrder), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ICollectItem", typeof(ICollectItem), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbSellerSubscription", typeof(IWlbSellerSubscription), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPicUrl", typeof(IPicUrl), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbItemInventoryLog", typeof(IWlbItemInventoryLog), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ISubtask", typeof(ISubtask), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IOutEntityItem", typeof(IOutEntityItem), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IReplyStatOnDay", typeof(IReplyStatOnDay), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbOrderScheduleRule", typeof(IWlbOrderScheduleRule), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbTmsOrder", typeof(IWlbTmsOrder), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IArticleUserSubscribe", typeof(IArticleUserSubscribe), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IArticleBizOrder", typeof(IArticleBizOrder), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IFenxiaoGrade", typeof(IFenxiaoGrade), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPromotionDetail", typeof(IPromotionDetail), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IKfcSearchResult", typeof(IKfcSearchResult), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbPartnerContact", typeof(IWlbPartnerContact), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbPartnerAddress", typeof(IWlbPartnerAddress), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IMeal", typeof(IMeal), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPosterGoodsInfo", typeof(IPosterGoodsInfo), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IArticleSub", typeof(IArticleSub), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IGroupMember", typeof(IGroupMember), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IRoom", typeof(IRoom), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IHotelOrder", typeof(IHotelOrder), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaAudioReaderTrack", typeof(ITaohuaAudioReaderTrack), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaAudioReaderAlbumSummary", typeof(ITaohuaAudioReaderAlbumSummary), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaAudioReaderAlbum", typeof(ITaohuaAudioReaderAlbum), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IItemTemplate", typeof(IItemTemplate), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IHotel", typeof(IHotel), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IFenxiaoItemRecord", typeof(IFenxiaoItemRecord), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ICooperation", typeof(ICooperation), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IRoomType", typeof(IRoomType), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IAddressResult", typeof(IAddressResult), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IOrderGuest", typeof(IOrderGuest), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IRoomImage", typeof(IRoomImage), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaSearchItems", typeof(ITaohuaSearchItems), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaItemPVPair", typeof(ITaohuaItemPVPair), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaSearchItem", typeof(ITaohuaSearchItem), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITransitStepInfo", typeof(ITransitStepInfo), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaOrder", typeof(ITaohuaOrder), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IGroupData", typeof(IGroupData), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IOrderAmount", typeof(IOrderAmount), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaItem", typeof(ITaohuaItem), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaOrders", typeof(ITaohuaOrders), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IShopPositionData", typeof(IShopPositionData), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITradeAmount", typeof(ITradeAmount), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IItemData", typeof(IItemData), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("INonreplyStatById", typeof(INonreplyStatById), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IStaffEvalStatById", typeof(IStaffEvalStatById), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaUpdateInfo", typeof(ITaohuaUpdateInfo), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaCateStat", typeof(ITaohuaCateStat), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaCategory", typeof(ITaohuaCategory), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaCatePropValue", typeof(ITaohuaCatePropValue), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaCateProp", typeof(ITaohuaCateProp), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbInventory", typeof(IWlbInventory), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ICouponDetail", typeof(ICouponDetail), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWlbItem", typeof(IWlbItem), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IActivity", typeof(IActivity), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ICoupon", typeof(ICoupon), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IAfterSale", typeof(IAfterSale), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaItemComment", typeof(ITaohuaItemComment), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPartnerDetail", typeof(IPartnerDetail), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ITaohuaItemCommentResult", typeof(ITaohuaItemCommentResult), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IDiscount", typeof(IDiscount), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IDiscountDetail", typeof(IDiscountDetail), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IEvaluation", typeof(IEvaluation), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IOnlineTimeById", typeof(IOnlineTimeById), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IWaitingTimeById", typeof(IWaitingTimeById), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IReplyStatById", typeof(IReplyStatById), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IChatpeer", typeof(IChatpeer), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("ILogisticsPartner", typeof(ILogisticsPartner), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IPromotion", typeof(IPromotion), typeof(BaseObject));
            //    XafTypesInfo.Instance.RegisterEntity("IUserTag", typeof(IUserTag), typeof(BaseObject));
            //}
            base.Setup(application);
        }
    }
}
